//
//  UIImage+MMSJ.h
//  HelloSchool
//
//  Created by 赵卫东 on 15/10/19.
//  Copyright © 2015年 LangWang. All rights reserved.
//


#import <UIKit/UIKit.h>

@interface UIImage (MMSJ)

+ (UIImage *)resizedImage:(NSString *)pic;

+ (UIImage *)resizedImage:(NSString *)pic leftScale:(CGFloat)leftScale topScale:(CGFloat)topScale;

+ (UIImage *)scaleToSize:(UIImage *)img size:(CGSize)size;

//用颜色创建图片
+(UIImage*) createImageWithColor:(UIColor*) color;
+(UIImage*) createImageWithColor:(UIColor*) color toSize:(CGSize)size;
//用颜色创建圆形图片
+(UIImage *)createRoundImageWithColor:(UIColor *)color toSize:(CGSize)size;

+ (UIImage *)changeQRCodeImage:(UIImage *)image withColor:(UIColor *)color;

@end
